//
//  AWImageChatMessage.h
//  AtWork2
//
//  Created by lucas on 15/5/28.
//  Copyright (c) 2015年 Foreveross. All rights reserved.
//

#import "AWChatMessage.h"

@interface AWImageChatMessage : AWChatMessage

//图片宽度
@property (nonatomic,assign) CGFloat width;
//图片高度
@property (nonatomic,assign) CGFloat height;

@property (nonatomic, copy) NSString *mediaId;

@property (nonatomic, strong, readonly) NSData *content;

@property (nonatomic, assign, readonly) NSUInteger contentWidth;

@property (nonatomic, assign, readonly) NSUInteger contentHeight;

/** 文件路径 */
@property (nonatomic, copy, readwrite) NSString *path;

+ (instancetype)imageChatMessageWithFrom:(NSString *)from
                                  to:(NSString *)to
                             content:(NSData *)content
                        chatDescType:(AWChatDestType)chatDestType;

+ (instancetype)imageServeAppMessageWithFrom:(NSString *)from
                                          to:(NSString *)to
                                     content:(NSData *)content;

@end
